﻿@page
@model IndexModel
@{
    ViewData["Title"] = "Home page";
}
<body style="margin: 0px; overflow: hidden">
    <!-- out object to be replaced by the Avalonia C# view -->
    <div id="out">
        <div id="avalonia-splash">
            <div class="center">
                <h2 class="purple">
                    Powered by
                    <a class="highlight" href="https://www.avaloniaui.net/" target="_blank">Avalonia UI</a>
                </h2>
            </div>
            <img class="icon" src="~/Logo.svg" alt="Avalonia Logo" />
        </div>
    </div>
    <!-- load the mainForAvalonia.js module to trigger replacing 
       div with id="out" with Avalonia MainView object instance
    -->
    <script type='module' src="~/mainForAvalonia.js"></script>
</body>